package ATBMS.view.manager;

import ATBMS.modles.Flight;
import java.util.List;

/**
 * Manager View Interface
 */
public interface ManagerViewInterface {

    /**
     * Show Window
     */
    public void show();

    /**
     * Hide Window
     */
    public void hide();

    /**
     * Show Create Flight Dialog
     * @return new Flight Object or null
     */
    public Flight showNewFlightDialog();

    /**
     * Show Message Box
     * @param s
     */
    public void alert(String s);

    /**
     * Show Flights
     * @param flights
     */
    public void listFlight(List<Flight> flights);

    /**
     * Get Selected Flight code
     * @return flight code
     */
    public String getSelectedFlightCode();

    /**
     * Show Edit Flight Dialog
     * @param flight
     * @return
     */
    public Flight showEditFlightDialog(Flight flight);
}
